#!/bin/bash

sum=0
b=1

while [ $b -le 100 ]
do
	sum=$[$sum+$b]
	b=$[$b+1]
done

echo $sum

